home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A vaguely watercolor effect. Original idea: Angela M. Cable.',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.07625,0.0633333,0.92625,0.936667),
- 'Darkness': 100,
- 'Defocus': 3,
- 'Frame': {
- 'FrameColor': (119,74,21),
- 'Material': App.Constants.LensFrameMaterial.Chrome,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 8
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (141,72,0),
- 'LightDirection': (0.9526,0.8087,-0.8298),
- 'HighlightSize': 81
- }],
- 'MaxAmbience': 60,
- 'MinAmbience': 60
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'MapType': App.Constants.LensMapType.CurrentImage,
- 'PatternOpacity': 24
- },
- 'Gloss': 14,
- 'Magnification': 15,
- 'LensMaterial': {
- 'Color': (252,168,62),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 24,
- 'Refraction': 14,
- 'ShapeType': App.Constants.LensShape.VCylindrical,
- 'Shininess': 96
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-